﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 销售表实体类
    /// </summary>
    public class SaleBill
    {
        public string SaleID { get; set; }        //销售单编号
        public string CustomerID { get; set; }    //客户编号
        public DateTime SaleDate { get; set; }    //销售日期
        public DateTime DeliveryDate { get; set; }//送货日期
        public string Clerk { get; set; }         //业务员
        public string Custodian { get; set; }     //检验（保管）员
        public int OnProcess { get; set; }        //执行状态。0：执行；1：撤销；2：完成
        public string Memo { get; set; }          //备注

        public SaleBill() { }
        public SaleBill(string saleID,string customerID,DateTime saleDate,DateTime deliveryDate,string clerk,string custodian,int onProcess,string memo)
        {
            this.SaleID       = saleID;
            this.CustomerID   = customerID;
            this.SaleDate     = saleDate;
            this.DeliveryDate = deliveryDate;
            this.Clerk        = clerk;
            this.Custodian    = custodian;
            this.OnProcess    = onProcess;
            this.Memo         = memo;
        }
    }
}
